package fsdownloadserver;

/**
 * @author 
 */
public class ServerInfo{
    private String name; //name of server in registry
    private String url; //url that registry is located at
    private int port; //port that server is located at

    public ServerInfo(){}

    public ServerInfo(String name, String url, int port){
        this.name = name;
        this.url = url;
        this.port = port;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the url
     */
    public String getUrl() {
        return url;
    }

    /**
     * @param url the url to set
     */
    public void setUrl(String url) {
        this.url = url;
    }

    /**
     * @return the port
     */
    public int getPort() {
        return port;
    }

    /**
     * @param port the port to set
     */
    public void setPort(int port) {
        this.port = port;
    }
}
